17. Computing MIN MAX Solution
Solution
Let's take a moment to understand the solution of the previous quiz.
- To begin with, boxes
E
,F
,G
,H
,I
, andJ
have just one child. As such, they simply take the value of their child. - Box
C
is a minimizer node, and hence chooses the minimum of boxesF
, andG
which isG
's value of-1
. - Box
A
is a maximizing node, and chooses the maximum of boxesB
,C
, andD
which isD
's value of+1
.